$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;
  .shadow {
    position: fixed;
    left: 0;
    top: -5vw;
    width: 100%;
    object-fit: cover;
    z-index: -1;
  }

  .section {
    width: 70vw;
    margin: 8vw auto;
    border-radius: 24px;
    border: 1px solid #02C4D0;
    background: rgba(255, 255, 255, .8);
    padding: 3vw 5vw;
    display: flex;
    justify-content: space-between;

    .lbox {
      width: 45%;

      .t {
        font-size: $fontSize_32;
        border-bottom: 1px solid #F4F4F4;
        padding-bottom: 1.5vw;
        line-height: 1.6;
      }

      .info {
        border-bottom: 1px solid #F4F4F4;
        padding-bottom: 1.5vw;
        position: relative;
        .item {
          margin-top: 2vw;

          .p1 {
            color: #989898;
            font-size: $fontSize_16;
          }

          .p2 {
            color: #000;
            font-size: $fontSize_24;
            margin: 5px 0;
          }

          .p3 {
            color: #989898;
            font-size: $fontSize_16;
          }
        }
        .code{
          margin-top: 3vw;
          img{
            width: 140/19.2+vw;;
          }
        }
      }
    }

    .rbox {
      width: 45%;

      .t {
        color: #000;
        font-size: $fontSize_32;
        border-bottom: 1px solid #F4F4F4;
        padding-bottom: 1.5vw;
        line-height: 1.6;
      }

      .form {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .item {
          width: 100%;
          margin-top: 1.5vw;

          .p1 {
            color: #363636;
            font-size: $fontSize_16;
          }

          input {
            border-radius: 6px;
            border: 1px solid #CBCBCB;
            background: #FFF;
            width: 100%;
            outline: none;
            font-size: $fontSize_16;
            padding: 0.6vw 0;
            text-indent: 10px;
            margin-top: 10px;

            &::placeholder {
              color: #CBCBCB;
            }
          }

          textarea {
            border-radius: 6px;
            border: 1px solid #CBCBCB;
            background: #FFF;
            width: 100%;
            outline: none;
            font-size: $fontSize_16;
            padding: 0.6vw 0;
            text-indent: 10px;
            height: 121/19.2+vw;
            resize: none;
            margin-top: 10px;

            &::placeholder {
              color: #CBCBCB;
            }
          }
        }

        .half {
          width: 48%;
        }

        .chose {
          width: 100%;
          margin: 1.5vw 0;

          .p1 {
            color: #363636;
            font-size: $fontSize_16;
          }

          .cs {
            display: flex;
            flex-wrap: wrap;

            .it {
              display: flex;
              align-items: center;
              margin: 1vw 1vw 0 0;
              cursor: pointer;
              .k {
                width: 16/19.2+vw;
                height: 16/19.2+vw;
                border-radius: 2px;
                border: 1px solid #E6E6E6;
                background: #FFF;
                transition: all 600ms;
              }
              p{
                color: #989898;
                font-size: $fontSize_14;
                margin-left: 5px;
                transition: all 600ms;
              }
            }
            .active{
              .k{
                border-color: #000;
                background: #000;
              }
              p{
                color:#000;
              }
            }
          }
        }

        .btn {
          border-radius: 4px;
          background: #0FF;
          width: 100%;
          font-size: $fontSize_16;
          padding: 0.8vw 0;
          text-align: center;
          cursor: pointer;
          .text{
            color:#000;
          }
          .inset {
            left: 50%;
            transform: translateX(-50%);
            color:#fff;
          }
        }
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 70px;
    .section{
      margin: 0 auto 40px auto;
      width: 80%;
      padding: 20px 5%;
      flex-direction: column;
      border-radius: 15px;
      .lbox{
        width: 100%;
        .t{
          font-size: 20px;
          line-height: 1.5;
          padding-bottom: 15px;
        }
        .info{
          padding-bottom: 15px;
          .item{
            margin-top: 15px;
            .p1{
              font-size: 14px;
            }
            .p2{
              font-size: 16px;
            }
            .p3{
              font-size: 14px;
            }
          }
          .code{
            margin-top: 20px;
            img{
              width: 80px;
            }
          }
        }
      }
      .rbox{
        width: 100%;
        margin-top: 20px;
        .t{
          font-size: 20px;
          padding-bottom: 15px;
          line-height: 1.5;
        }
        .form{
          .item{
            margin-top: 15px;
            .p1{
              font-size: 14px;
            }
            input{
              padding: 10px 0;
              font-size: 14px;
            }
            textarea{
              padding: 10px 0;
              font-size: 14px;
              height: 80px;
            }
          }
          .half{
            width: 100%;
          }
          .chose{
            margin: 15px 0;
            .p1{
              font-size: 14px;
            }
            .cs{
              .it{
                margin: 10px 10px 0 0;
                .k{
                  width: 10px;
                  height: 10px;
                }
                p{
                  font-size: 14px;
                }
              }
            }
          }
          .btn{
            font-size: 16px;
            padding: 10px 0;
            .text{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}